'use strict'
const project ='/nuonuo/web/';//js的访问路径

const  build = {
  // Paths
  ctx:'',//生产环境init.jsp中ctx的值
  assetsPublicPath: project,//静态资源的url路径
  /**
   * Source Maps
   */

  productionSourceMap: true,
  // https://webpack.js.org/configuration/devtool/#production
  devtool: false,

  productionGzip: false,
  productionGzipExtensions: ['js', 'css'],

  bundleAnalyzerReport: process.env.npm_config_report,
  DefinePlugin:{
    'serviceUrl':JSON.stringify('/api/fuwu/web/'),
    'staticProject':JSON.stringify(project),
    'staticUrl':project
  },
}
module.exports =  {
  NODE_ENV: '"production"',
  build:build
}